package com.example.service;

import com.example.model.Business;
import com.example.model.dlo.BusinessEditRequest;
import org.springframework.stereotype.Service;

import java.util.List;
public interface BusinessService {
    List<Business> getBusinessList();

    // 新增：获取前5条业务记录
    List<Business> getTop5Businesses();

    void insertBusiness(Business business);

    void updateById(Business business);

    void deleteBusinessById(int id);
}
